Search
Factory.CreatePagedContainerNode Method (Rect, IEnumerable(String))
See Also
 





Creates a new PagedContainerNode instance with the specified dimensions and page titles, and adds it to the Nodes collection of the underlying diagram.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public PagedContainerNode CreatePagedContainerNode (
    Rect bounds,
    IEnumerable<string> pageTitles
)

Visual Basic  Copy Code

Public Function CreatePagedContainerNode( _
    bounds As Rect, _
    pageTitles As IEnumerable(Of String) _
) As PagedContainerNode

 Parameters

bounds

The initial bounding rectangle of the new node.

pageTitles

A list of strings specifying the titles of the initial pages.

 Return Value

The newly created PagedContainerNode instance.

 Remarks

The method creates a paged container node with the position and size specified by bounds. The parameter pageTitles specifies the titles of the initial pages of the container.

 See Also